@font-face {
  font-family: "Arimo";
  src: url("fonts/Arimo.ttf");
  font-display: swap;
}

.arimo {
  font-family: "Arimo", sans-serif;
  font-weight: 500;
  font-style: normal;
}

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer utilities {
  .mask-bottom-fade {
    mask-image: linear-gradient(0deg, transparent 0, #000 160px);
    -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 160px);
  }
}

.ant-select-selection-search-input {
  border: none !important;
  box-shadow: none !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

@keyframes gradient-border {
  0% {
    border-image-source: linear-gradient(
      45deg,
      #f79533,
      #f37055,
      #ef4e7b,
      #a166ab
    );
  }
  50% {
    border-image-source: linear-gradient(45deg, #ef4e7b, #a166ab);
  }
  74% {
    border-image-source: linear-gradient(60deg, #5073b8, #1098ad);
  }
  100% {
    border-image-source: linear-gradient(
      45deg,
      #f79533,
      #f37055,
      #ef4e7b,
      #a166ab
    );
  }
}

.animated-gradient-border {
  border: 3px solid;
  border-image-slice: 1;
  animation: gradient-border 3s infinite;
  border-radius: 10px;
}
/* Hide scrollbar by default */
.custom-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.custom-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Show scrollbar on hover */
.custom-scrollbar:hover {
  scrollbar-width: thin;
  -ms-overflow-style: auto;
}

.custom-scrollbar:hover::-webkit-scrollbar {
  display: block;
  width: 10px;
}

/* Custom scrollbar styles for light theme */
.custom-scrollbar:hover::-webkit-scrollbar-track {
  @apply bg-gray-50;
  border-radius: 6px;
}

.custom-scrollbar:hover::-webkit-scrollbar-thumb {
  @apply bg-gray-300;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.custom-scrollbar:hover::-webkit-scrollbar-thumb:hover {
  @apply bg-gray-400;
}

/* Custom scrollbar styles for dark theme */
.dark .custom-scrollbar:hover::-webkit-scrollbar-track {
  background-color: #262626;
}

.dark .custom-scrollbar:hover::-webkit-scrollbar-thumb {
  background-color: #404040;
}

.dark .custom-scrollbar:hover::-webkit-scrollbar-thumb:hover {
  background-color: #525252;
}

/* For Firefox */
.custom-scrollbar {
  scrollbar-color: theme("colors.gray.300") theme("colors.gray.50");
  scrollbar-width: thin;
}

.dark .custom-scrollbar {
  scrollbar-color: #404040 #262626;
}

@keyframes shimmer-text {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

.shimmer-text {
	background: linear-gradient(90deg, #b8b9bc 25%, #3a3a3a 50%, #b8b9bc 75%);
	background-size: 200% 100%;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: shimmer-text 4s linear infinite;
	color: #9ea0a4;
}

:global(.dark) .shimmer-text {
	background: linear-gradient(90deg, #a0a2a6 25%, #f5f5f5 50%, #a0a2a6 75%);
	background-size: 200% 100%;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: shimmer-text 4s linear infinite;
	color: #bbbdc1;  
}